﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UserList.ascx.cs" Inherits="Marbles.CMS.Administrator.Content.UserList" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register assembly="Marbles.Core.Web" namespace="Marbles.Core.Web.Controls" tagprefix="ctl" %>

<asp:panel ID="pnlUsers" runat="server"  ScrollBars="Vertical" Height="560px" BackColor="White" >
<asp:gridview ID="grdUsers" runat="server" AutoGenerateColumns="false"  OnRowDataBound="grdUsers_RowDatabound" >
<Columns>
<asp:boundfield HeaderText="Username" DataField="UserName" htmlencode="false" readonly="true"></asp:boundfield>
<asp:boundfield HeaderText="Email" DataField="Email" htmlencode="false" readonly="true"></asp:boundfield>
<asp:boundfield HeaderText="Comment" DataField="Comment" htmlencode="false" readonly="true"></asp:boundfield>
<asp:checkboxfield HeaderText="Approved" DataField="IsApproved"><ItemStyle HorizontalAlign="Center" /></asp:checkboxfield>
<asp:checkboxfield HeaderText="Locked" DataField="IsLockedOut"><ItemStyle HorizontalAlign="Center" /></asp:checkboxfield>
<asp:boundfield HeaderText="Created On" DataField="CreationDate" htmlencode="false" readonly="true"></asp:boundfield>
<asp:boundfield HeaderText="Last Login" DataField="LastLoginDate" htmlencode="false" readonly="true"></asp:boundfield>
<asp:boundfield HeaderText="Last Activity" DataField="LastActivityDate" htmlencode="false" readonly="true"></asp:boundfield>
<asp:boundfield HeaderText="Password Changed On" DataField="LastPasswordChangedDate" htmlencode="false" readonly="true"></asp:boundfield>
<asp:checkboxfield HeaderText="Online" DataField="IsOnline" ><ItemStyle HorizontalAlign="Center" /></asp:checkboxfield>
</Columns>
</asp:gridview>
</asp:panel>
